package com.wj.test;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;

/**
 * Created by wj on 2017/9/11.
 */

@Controller
public class HelloThyController {

    @RequestMapping(value = "hi",method = RequestMethod.GET)
    public String test1(){
        return "index";
    }
}
